package com.my.coolq.api.request;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 获取群成员信息
 * @author ch
 *
 */
public class GroupMemberInfoRequest implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2632418667104487813L;

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 用户的qq号码
	 */
	private Long user_id;
	
	/**
	 * 是否不使用缓存（使用缓存可能更新不及时，但响应更快）
	 */
	private Boolean no_cache;

	public GroupMemberInfoRequest() {
		super();
	}

	public GroupMemberInfoRequest(Long group_id, Long user_id) {
		super();
		this.group_id = group_id;
		this.user_id = user_id;
	}

	public GroupMemberInfoRequest(Long group_id, Long user_id, Boolean no_cache) {
		super();
		this.group_id = group_id;
		this.user_id = user_id;
		this.no_cache = no_cache;
	}

	public Long getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Boolean getNo_cache() {
		return no_cache;
	}

	public void setNo_cache(Boolean no_cache) {
		this.no_cache = no_cache;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
	
	
}
